/*  1:   */ package org.jeecgframework.poi.excel.view;
/*  2:   */ 
/*  3:   */ import javax.servlet.http.HttpServletRequest;
/*  4:   */ import org.springframework.web.servlet.view.AbstractView;
/*  5:   */ 
/*  6:   */ public abstract class MiniAbstractExcelView
/*  7:   */   extends AbstractView
/*  8:   */ {
/*  9:   */   private static final String CONTENT_TYPE = "application/vnd.ms-excel";
/* 10:   */   protected static final String HSSF = ".xls";
/* 11:   */   protected static final String XSSF = ".xlsx";
/* 12:   */   
/* 13:   */   public MiniAbstractExcelView()
/* 14:   */   {
/* 15:35 */     setContentType("application/vnd.ms-excel");
/* 16:   */   }
/* 17:   */   
/* 18:   */   protected boolean isIE(HttpServletRequest request)
/* 19:   */   {
/* 20:39 */     return (request.getHeader("USER-AGENT").toLowerCase().indexOf("msie") > 0) || (request.getHeader("USER-AGENT").toLowerCase().indexOf("rv:11.0") > 0);
/* 21:   */   }
/* 22:   */ }


/* Location:           C:\Users\Administrator\.m2\repository\org\jeecgframework\easypoi-web\2.1.4\easypoi-web-2.1.4\
 * Qualified Name:     org.jeecgframework.poi.excel.view.MiniAbstractExcelView
 * JD-Core Version:    0.7.0.1
 */